home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
m4-1_0_3.lha
/
m4-1.0.3
/
examples
/
misc.m4
< prev
next >
Wrap
Text File
|
1989-11-02
|
192b
|
10 lines
divert(-1)
define(`HOST', `vale')
define(`TMP', maketemp(`/tmp/hejXXXXXX'))
syscmd(`ypmatch' HOST `hosts | awk "{print \$1}"' > TMP)
define(`IP', include(TMP))
syscmd(`rm -f' TMP)
divert
IP